﻿<%@ Page Title="" Language="VB" MasterPageFile="~/MasterPageDetails.master" AutoEventWireup="false" CodeFile="WriteReviews.aspx.vb" Inherits="WriteReviews" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
        

<div style="clear: both;">
</div>
<div style="font-size: 1.2em; font-weight: bold; padding: 30px 0 20px 0; border-bottom: 1px solid #555;">
Viết đánh giá
</div>

<div class="hide" style="margin: 10px 0;">
Chudu24 xin chào quý khách
<span id="ctl00_ContentPlaceHolder1_lblCustomerName"></span>,<br />
<br />
Cảm ơn quý khách đã đặt phòng tại <b>
<span id="ctl00_ContentPlaceHolder1_lblHotelName"></span></b> từ ngày <b>
<span id="ctl00_ContentPlaceHolder1_lblCheckIn"></span></b> đến ngày <b>
<span id="ctl00_ContentPlaceHolder1_lblCheckOut"></span></b><br />
<br />
Xin quý khách vui lòng bớt 1 phút để viết đánh giá về dịch vụ của khách sạn cũng
như góp ý cho dịch vụ của Chudu24. Ý kiến của quý khách rất quan trọng đối với chúng
tôi trong việc cải thiện và nâng cao chất lượng dịch vụ.
</div>
<input type="hidden" id="txtHotelName" class="txtHotelName" value="Khách sạn Pullman Saigon Centre" />
<input type="hidden" id="txtHotelIdInt" class="txtHotelIdInt" value="1055" />
<input type="hidden" id="txtCityName" class="txtCityName" value="Hồ Chí Minh (Sài Gòn)" />
<input type="hidden" id="txtCityTextId" class="txtCityTextId" value="ho-chi-minh" />
<input type="hidden" id="txtHotelTextId" class="txtHotelTextId" value="khach-san-pullman-saigon-centre" />
<input name="ctl00$ContentPlaceHolder1$txtReservationNumber" type="hidden" id="ctl00_ContentPlaceHolder1_txtReservationNumber" class="txtReservationNumber" />
<input name="ctl00$ContentPlaceHolder1$txtReservationItemId" type="hidden" id="ctl00_ContentPlaceHolder1_txtReservationItemId" class="txtReservationItemId" />
<div data-role="fieldcontain" class=''
style="border: none;">
<label class="label1">
Họ tên *
</label>
<br />
<%--<input name="ctl00$ContentPlaceHolder1$txtFullName" type="text" id="ctl00_ContentPlaceHolder1_txtFullName" class="txtFullName" placeholder="" />
<div class="divFullNameError ui-widget-content ui-state-error hide" style="margin: 10px 0;">
Vui lòng nhập họ tên</div>--%>
     <asp:TextBox ID="txtFullName" name="txtFullName" class="txtFullName"  placeholder=""
    runat="server" Text =""  ></asp:TextBox>
    <br />
    <asp:RequiredFieldValidator ID="validNameOnCard" runat="server" ErrorMessage="Vui lòng nhập họ tên!" 
        Display="Dynamic" ControlToValidate="txtFullName" SetFocusOnError="True" 
        ForeColor="Red" ValidationGroup="ValidDanhGia" class="divCustomerNameError ui-widget-content ui-state-error hide"
         style="margin: 10px 0;" ></asp:RequiredFieldValidator>
</div>
<div data-role="fieldcontain" class=''
style="border: none;">
<label class="label1">
Email *
</label>
<br />
<%--<input name="ctl00$ContentPlaceHolder1$txtEmail" type="text" id="ctl00_ContentPlaceHolder1_txtEmail" class="txtEmail" placeholder="" />
<div class="divEmailError ui-widget-content ui-state-error hide" style="margin: 10px 0;">
Vui lòng kiểm tra địa chỉ email</div>--%>
    <asp:TextBox ID="txtEmail" name="txtEmail" class="txtEmail"  placeholder=""
    runat="server" Text =""  ></asp:TextBox>
    <br />
    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="Vui lòng nhập địa chỉ email!" 
        Display="Dynamic" ControlToValidate="txtEmail" SetFocusOnError="True" 
        ForeColor="Red" ValidationGroup="ValidDanhGia" class="divCustomerNameError ui-widget-content ui-state-error hide"
         style="margin: 10px 0;" ></asp:RequiredFieldValidator>
    <asp:RegularExpressionValidator ID="EmailFormatValidator" runat="server" 
    ControlToValidate="txtEmail" Display="Dynamic" ValidationGroup="ValidDanhGia"
    ErrorMessage="&nbsp; Vui lòng kiểm tra địa chỉ email." SetFocusOnError="true" 
    ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*" />
</div>
<div data-role="fieldcontain" style="border: none;">
<label class="label1">
Đánh giá *
</label>
<br />
<select name="txtReviewRating" id="txtReviewRating" runat ="server" >
<option value="5">Rất tốt</option>
<option value="4">Tốt</option>
<option selected="selected" value="3">Bình thường</option>
<option value="2">Không tốt</option>
<option value="1">Rất không tốt</option>
</select>
<div class="divReviewRatingError ui-widget-content ui-state-error hide" style="margin: 10px 0;">
Vui lòng chọn đánh giá</div>
</div>
<%--<div data-role="fieldcontain" class=''
style="border: none;">
<label class="label1">
Ngày lưu trú:
</label>
<br />
<select name="txtStayDate" id="txtStayDate">
  
</select>
<input name="ctl00$ContentPlaceHolder1$hidStayDate" type="hidden" id="ctl00_ContentPlaceHolder1_hidStayDate" class="hidStayDate" />
</div>--%>

<div data-role="fieldcontain" style="border: none;">
<label class="label1">
Tiêu đề *
</label>
<br />
<%--<input id="txtTitle" placeholder="" value="" type="text" class="txtTitle" />
<div class="divTitleError ui-widget-content ui-state-error hide" style="margin: 10px 0;">
Vui lòng nhập tiêu đề</div>--%>
    <asp:TextBox ID="txtTitle" name="txtTitle" class="txtTitle"  placeholder=""
    runat="server" Text =""  ></asp:TextBox>
    <br />
    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ErrorMessage="Vui lòng nhập tiêu đề!" 
        Display="Dynamic" ControlToValidate="txtTitle" SetFocusOnError="True" 
        ForeColor="Red" ValidationGroup="ValidDanhGia" class="divCustomerNameError ui-widget-content ui-state-error hide"
         style="margin: 10px 0;" ></asp:RequiredFieldValidator>
</div>
<div data-role="fieldcontain" style="border: none;">
<label class="label1">
Nội dung *
</label>
<br />

<%--<textarea id="txtContent" class="txtContent" placeholder="" style="height: 300px;" runat ="server" ></textarea>--%>
    <asp:TextBox ID="txtContent" runat="server" Height="300px" class="txtContent" placeholder=""
                                                    TextMode="MultiLine" ></asp:TextBox>
    <br />
    <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ErrorMessage="Vui lòng nhập nội dung đánh giá!" 
        Display="Dynamic" ControlToValidate="txtContent" SetFocusOnError="True" 
        ForeColor="Red" ValidationGroup="ValidDanhGia" class="divCustomerNameError ui-widget-content ui-state-error hide"
         style="margin: 10px 0;" ></asp:RequiredFieldValidator>
<%--<div class="divContentError ui-widget-content ui-state-error hide" style="margin: 10px 0;">
Vui lòng nhập nội dung đánh giá</div>
</div>--%>
<%--<div data-role="fieldcontain" style="border: none;">
<label class="label1" style="float: left;">
Hình ảnh
</label>
<br />
<div class="divfileUpload" style="float: left; width: 100%;">
<input id="file_upload" name="file_upload" data-role="none" type="file" multiple="true" />
<div class="divPreviews top-10">
</div>
<div class="clear">
</div>
<div id="divUploadDragDropArea" class="ui-corner-all top-10 hide">
</div>
</div>
<div class="clear">
</div>
</div>--%>
<div class='divLoading ui-loader ui-body-a ui-corner-all' style="margin: 0; position: inherit;
width: 90%; left: 0; padding: 10px 10px;">
<span class='ui-icon ui-icon-loading spin'></span>
<h1 id='jQueryMobileLoadingText'>
Đánh giá đang được gửi, vui lòng chờ trong giây lát...</h1>
</div>
<div class="divDanhGiaButton">
<asp:LinkButton ID="lnkBooking" data-role="button" runat ="server"  ClientIDMode ="Static"  Text="Gởi đánh giá"
        data-theme="b" data-icon="arrow-r" data-iconpos="right" ValidationGroup="ValidDanhGia">
            </asp:LinkButton><%--<input data-theme="b" data-icon="arrow-r" data-iconpos="right" value="Gởi đánh giá"
type="submit" id="txtSubmit" />--%>
</div>
<div style="clear: both; margin: 50px 0 0 0;">
</div>
    <%--Content --%>
        </div> </div>
      
        <div id="divBotton" class="content-secondary">
            <div data-role="collapsible" data-collapsed="false" data-theme="b" data-content-theme="d">

				<ul data-role="listview" data-theme="c" data-dividertheme="d">
					<li id="divNameHotel" runat ="server" data-role="list-divider"></li>
					<li >
                        <a href="DetailKhachSan.aspx?IDKS=<%=Request.QueryString("IDKS") %>">Giá Phòng & Khuyến Mãi</a>
					</li>
					<li>
                        <a href="DetailKhachSanInfo.aspx?IDKS=<%=Request.QueryString("IDKS") %>">
                            Thông Tin Khách Sạn
                        </a>
					</li>
					<li>
                        <a href="DetailKhachSanImage.aspx?IDKS=<%=Request.QueryString("IDKS") %>">
                        Hình Ảnh & Video
                        </a>
					</li>
					<li>
                        <a href="DetailKhachSanSale.aspx?IDKS=<%=Request.QueryString("IDKS") %>">
                            Khuyến Mãi
            </a>
					</li>
					<li data-theme="b">
                       <a href="DetailKhachSanAssess.aspx?IDKS=<%=Request.QueryString("IDKS") %>">
                            Đánh Giá
            </a>
					</li>
					<li>
                        <a href="DetailKhachSanPut.aspx?IDKS=<%=Request.QueryString("IDKS") %>">
                            Đặt Phòng
            </a>
					</li>
					<li data-corners="false" data-shadow="false" data-iconshadow="true" data-wrapperels="div" data-icon="arrow-r" data-iconpos="right" data-theme="e">
                        <asp:LinkButton ID="lnkQuayLai" runat ="server"  ClientIDMode ="Static"  Text="Quay Lại">
            </asp:LinkButton>
					</li>

				</ul>
			</div>
                
        </div>
         
</asp:Content>

